Simple_History\Simple_History C

Total Complexity 119
Dependencies 73
Dependents 23
Total lines 1,478
Lines of code 646
Logical lines of code 292
Comment lines 610
Methods 52
Properties 10

Methods 52

Method Rating Maintainability Complexity Lines of code
get_log_row_html_output()
C
24
22 213
get_loggers_that_user_can_read()
A
47 7 39
get_log_row_details_output()
S
54 7 20
get_log_row_plain_text_output()
S
54 6 21
register_settings_tab()
S
51 4 28
__call()
S
56 4 18
get_instantiated_dropin_by_slug()
S
63 4 11
get_instantiated_logger_by_slug()
S
63 4 11
get_settings_tabs()
S
54 3 23
get_log_row_sender_image_output()
S
64 4 9
get_log_row_header_output()
S
64 4 9
get_core_loggers()
S
50 1 33
get_service()
S
67 3 8
get_services()
S
54 1 24
get_core_dropins()
S
55 1 21
register_plugin_with_license()
S
66 2 8
load_services()
S
74 2 5
on_admin_footer()
S
74 2 5
on_admin_head()
S
74 2 5
get_instance()
S
71 2 6
load_service()
S
67 2 8
init()
S
66 2 9
get_contexts_table_name()
S
82 1 3
get_unique_events_for_days()
S
75 1 4
get_instantiated_loggers()
S
82 1 3
set_instantiated_loggers()
S
81 1 3
get_instantiated_dropins()
S
82 1 3
get_num_events_per_day_last_n_days()
S
75 1 4
get_events_table_name()
S
82 1 3
get_num_events_last_n_days()
S
75 1 4
set_instantiated_dropins()
S
81 1 3
__construct()
S
82 1 3
clear_log()
S
75 1 4
register_dropin()
S
80 1 3
get_instantiated_services()
S
82 1 3
add_admin_actions()
S
75 1 4
setup_db_variables()
S
65 1 10
get_view_history_capability()
S
81 1 3
get_view_settings_capability()
S
75 1 4
user_can_clear_log()
S
75 1 4
register_logger()
S
80 1 3
get_external_loggers()
S
82 1 3
get_clear_history_interval()
S
75 1 4
get_external_dropins()
S
82 1 3
get_pager_size()
S
75 1 4
get_pager_size_dashboard()
S
75 1 4
is_on_our_own_pages()
S
75 1 4
does_database_have_data()
S
75 1 4
set_settings_tabs()
S
81 1 3
setting_show_on_dashboard()
S
75 1 4
setting_show_as_page()
S
75 1 4
get_menu_manager()
S
75 1 4